import createRequest from '../utils/request';

export const codeList = () => {
    return createRequest({
        url: "/api/templateCode/all"
    })
}

export const codeSave = (data = {}) => {
    return createRequest({
        url: "/api/templateCode/save",
        data,
        method: "POST"
    })
}

